import config from '@/utils/config.js';
// 域名
export const domain = 'https://' + config.getDomain;
// 我的页面域名
export const myurl = 'https://' + config.getDomain + '/member.php?mod=logging&action=login&mobile=2';
// 搜索页面域名
export const searchurl = 'https://' + config.getDomain + '/search.php?mod=forum&mobile=2';

// 插件配置 
export const pluginapi = 'https://' + config.getDomain + '/plugin.php?id=twelve_uniapp:api';

// 获取版块分类
export const forumindex = 'https://' + config.getDomain + '/api/mobile/?module=forumindex&version=5';


// 获取轮播图
export const bannerthread = 'https://' + config.getDomain +
	'/api/mobile/index.php?module=forumguide&view=digest&version=5&page=1';

// 获取最新贴
export const newthread = 'https://' + config.getDomain +
	'/api/mobile/index.php?module=forumguide&view=newthread&version=5';


// 获取版块贴子列表 &fid=2&page=1
export const forumthread = 'https://' + config.getDomain +
	'/api/mobile/?module=forumdisplay&version=5&submodule=checkpost';

// 获取贴子详情 &tid=66&page=1&ppp=10
export const threaddetail = 'https://' + config.getDomain + '/api/mobile/?module=viewthread&version=5&ordertype=1';
